home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 24 / AMIGAplus Sonderheft 24 (2000)(Falke)(DE)[!].iso / PublicDomain / Anwendungen / Identify / developer / include / Pascal / libraries / identify.h
Text File  |  1999-10-24  |  17KB  |  365 lines

  1. ** $VER: identify.h 11.0 (23.04.99)
  2. ** 
  3. ** identify.library definitions 
  4. ** 
  5. ** (C) Copyright 1996-99 Richard Koerber
  6. ** All Rights Reserved. 
  7. }
  8.  
  9. {$if not def LIBRARIES_IDENTIFY_H} CONST LIBRARIES_IDENTIFY_H=1;
  10.  
  11.  
  12. {$if not def EXEC_LIBRARIES_H;incl 'exec/libraries.h';endif}
  13. {$if not def UTILITY_TAGITEM_H;incl 'utility/tagitem.h';endif}
  14.  
  15. CONST  _IDTAGS      = $CD450000;
  16.  
  17. { --------------------------------------------------------------------------}
  18. { Generic library informations }
  19.  
  20. CONST  IDENTIFYVERSION = 11;
  21.  
  22. TYPE   p_IdentifyBase = ^_IdentifyBase;
  23.        _IdentifyBase  = Record
  24.                           ifyb_LibNode  :_Library;
  25.                         End;
  26.  
  27. CONST  IDENTIFYBUFLEN = 50;  { default buffer length }
  28.  
  29. { --------------------------------------------------------------------------}
  30. { Expansion() tags }
  31.  
  32.        IDTAG_ConfigDev   = _IDTAGS+$00; { "p_ConfigDev" ConfigDev }
  33.                                         { structure to be evaluated }
  34.        IDTAG_ManufID     = _IDTAGS+$01; { UWORD manufacturer ID if no }
  35.                                         { ConfigDev is available }
  36.        IDTAG_ProdID      = _IDTAGS+$02; { UBYTE product ID if no }
  37.                                         { ConfigDev is available }
  38.        IDTAG_StrLength   = _IDTAGS+$03; { UWORD of maximum buffer length, }
  39.                                         { including termination. Default }
  40.                                         { is 50. }
  41.        IDTAG_ManufStr    = _IDTAGS+$04; { STRPTR of manufacturer name }
  42.                                         { puffer, or NULL }
  43.        IDTAG_ProdStr     = _IDTAGS+$05; { STRPTR of product name }
  44.                                         { puffer, or NULL }
  45.        IDTAG_ClassStr    = _IDTAGS+$06; { STRPTR of product class }
  46.                                         { puffer, or NULL }
  47.        IDTAG_DeadStr     = _IDTAGS+$07; { STRPTR deadend or recoverable alert? }
  48.        IDTAG_SubsysStr   = _IDTAGS+$08; { STRPTR alert subsystem }
  49.        IDTAG_GeneralStr  = _IDTAGS+$09; { STRPTR alert general cause }
  50.        IDTAG_SpecStr     = _IDTAGS+$0A; { STRPTR alert specific cause }
  51.        IDTAG_FuncNameStr = _IDTAGS+$0B; { STRPTR function name }
  52.        IDTAG_Expansion   = _IDTAGS+$0C; { "pp_ConfigDev" ConfigDev for a }
  53.                                         { complete expansion check. Init }
  54.                                         { the variable with NULL and pass }
  55.                                         { a pointer to it using this tag. }
  56.        IDTAG_Secondary   = _IDTAGS+$0D; { BOOL warn for secondary expansion }
  57.                                         { boards (defaults to FALSE) }
  58.        IDTAG_ClassID     = _IDTAGS+$0E; { ULONG * class ID of the provided }
  59.                                         { expansion board (see below) [V8] }
  60.        IDTAG_Localize    = _IDTAGS+$0F; { BOOL return localized strings }
  61.                                         { (defaults to TRUE) [V8] }
  62.        IDTAG_NULL4NA     = _IDTAGS+$10; { BOOL return NULL for not available, }
  63.                                         { else return a string (defaults to }
  64.                                         { FALSE) [V8] }
  65.  
  66. { --------------------------------------------------------------------------}
  67. { Hardware description types }
  68.  
  69.        IDHW_SYSTEM      = 0;   { System (Amiga,DraCo,...)            [V2] }
  70.        IDHW_CPU         = 1;   { CPU (68000,68010,...,68060) }
  71.        IDHW_FPU         = 2;   { FPU (---,68881,68882,68040,68060) }
  72.        IDHW_MMU         = 3;   { MMU (---,68852,68030,68040,68060) }
  73.        IDHW_OSVER       = 4;   { OS Version (Vx.x) }
  74.        IDHW_EXECVER     = 5;   { Exec Version (Vx.x) }
  75.        IDHW_WBVER       = 6;   { Workbench Version (---,Vx.x) }
  76.        IDHW_ROMSIZE     = 7;   { OS ROM Size (xKB, xMB) }
  77.        IDHW_CHIPSET     = 8;   { Chipset (OCS,ECS,AGA,DraCo) }
  78.        IDHW_GFXSYS      = 9;   { Graphic OS (AmigaOS, CyberGraphX, ...) }
  79.        IDHW_CHIPRAM     = 10;  { Chip RAM (xKB, xMB, xGB) }
  80.        IDHW_FASTRAM     = 11;  { Fast RAM (xKB, xMB, xGB) }
  81.        IDHW_RAM         = 12;  { Total RAM (xKB, xMB, xGB) }
  82.        IDHW_SETPATCHVER = 13;  { SetPatch Version (---,Vx.x)         [V4] }
  83.        IDHW_AUDIOSYS    = 14;  { Audio OS (AmigaOS, AHI, ...)        [V5] }
  84.        IDHW_OSNR        = 15;  { AmigaOS (2.04, 3.1, ...) }
  85.        IDHW_VMMCHIPRAM  = 16;  { VMM Chip RAM (*KB, *MB, *GB) }
  86.        IDHW_VMMFASTRAM  = 17;  { VMM Fast RAM (*KB, *MB, *GB) }
  87.        IDHW_VMMRAM      = 18;  { VMM Total RAM (*KB, *MB, *GB) }
  88.        IDHW_PLNCHIPRAM  = 19;  { Plain Chip RAM (*KB, *MB, *GB) }
  89.        IDHW_PLNFASTRAM  = 20;  { Plain Fast RAM (*KB, *MB, *GB) }
  90.        IDHW_PLNRAM      = 21;  { Plain Total RAM (*KB, *MB, *GB) }
  91.        IDHW_VBR         = 22;  { Vector Base Register                [V6] }
  92.        IDHW_LASTALERT   = 23;  { Last Alert code }
  93.        IDHW_VBLANKFREQ  = 24;  { VBlank Frequency }
  94.        IDHW_POWERFREQ   = 25;  { Power Frequency }
  95.        IDHW_ECLOCK      = 26;  { EClock }
  96.        IDHW_SLOWRAM     = 27;  { Plain Slow RAM (*KB, *MB, *GB) }
  97.        IDHW_GARY        = 28;  { Gary (---,Normal,...) }
  98.        IDHW_RAMSEY      = 29;  { RAMSEY (---,D,F)
  99.        IDHW_BATTCLOCK   = 30;  { Battery Backed Up Clock (---,Found) }
  100.        IDHW_CHUNKYPLANAR = 31; { Chunky To Planar Hardware (---,Found) [V7] }
  101.        IDHW_POWERPC     = 32;  { PowerPC present? (---,Found) }
  102.        IDHW_PPCCLOCK    = 33;  { PowerPC clock (unit MHz) }
  103.        IDHW_CPUREV      = 34;  { CPU revision                          [V8] }
  104.        IDHW_CPUCLOCK    = 35;  { CPU clock (unit MHz) }
  105.        IDHW_FPUCLOCK    = 36;  { FPU clock (unit MHz) }
  106.        IDHW_RAMACCESS   = 37;  { Main board RAM access time (unit ns) }
  107.        IDHW_RAMWIDTH    = 38;  { Main board RAM width (bit) }
  108.        IDHW_RAMCAS      = 39;  { Main board RAM CAS mode }
  109.        IDHW_RAMBANDWIDTH = 40; { Main board RAM bandwidth }
  110.        IDHW_TCPIP       = 41;  { TCP/IP stack                          [V9] }
  111.        IDHW_PPCOS       = 42;  { PowerPC OS }
  112.        IDHW_AGNUS       = 43;  { Agnus chip revision }
  113.        IDHW_AGNUSMODE   = 44;  { Agnus chip mode }
  114.        IDHW_DENISE      = 45;  { Denise chip version                   [V10] }
  115.        IDHW_DENISEREV   = 46;  { Denise chip revision }
  116.        IDHW_NUMBEROF    = 47;  { Number of types, PRIVATE! }
  117.  
  118. { --------------------------------------------------------------------------}
  119. { IDHW_SYSTEM numerical result codes }
  120.  
  121.        IDSYS_AMIGA1000  = 0;    { Amiga 1000 }
  122.        IDSYS_AMIGAOCS   = 1;    { OCS Amiga 500/2000 }
  123.        IDSYS_AMIGAECS   = 2;    { ECS Amiga 500/2000 }
  124.        IDSYS_AMIGA500   = 3;    { Amiga 500 }
  125.        IDSYS_AMIGA2000  = 4;    { Amiga 2000 }
  126.        IDSYS_AMIGA3000  = 5;    { Amiga 3000 }
  127.        IDSYS_CDTV       = 6;    { CDTV }
  128.        IDSYS_AMIGA600   = 7;    { Amiga 600 }
  129.        IDSYS_CD32       = 8;    { CD32 }
  130.        IDSYS_AMIGA1200  = 9;    { Amiga 1200 }
  131.        IDSYS_AMIGA4000  = 10;   { Amiga 4000 }
  132.        IDSYS_DRACO      = 11;   { DraCo }
  133.        IDSYS_UAE        = 12;   { Ubiquitous Amiga Emulator }
  134.        IDSYS_AMIGA4000T = 13;   { Amiga 4000 Tower }
  135.  
  136. { --------------------------------------------------------------------------}
  137. { IDHW_CPU numerical result codes }
  138.  
  139.        IDCPU_68000     = 0;     { 68000 }
  140.        IDCPU_68010     = 1;     { 68010 }
  141.        IDCPU_68020     = 2;     { 68020 }
  142.        IDCPU_68030     = 3;     { 68030 }
  143.        IDCPU_68EC030   = 4;     { 68EC030 (without MMU) }
  144.        IDCPU_68040     = 5;     { 68040 }
  145.        IDCPU_68LC040   = 6;     { 68LC040 (without FPU) }
  146.        IDCPU_68060     = 7;     { 68060 }
  147.        IDCPU_68LC060   = 8;     { 68LC060 (without FPU) }
  148.  
  149. { --------------------------------------------------------------------------}
  150. { IDHW_FPU numerical result codes }
  151.  
  152.        IDFPU_NONE      = 0;     { no FPU }
  153.        IDFPU_68881     = 1;     { 68881 }
  154.        IDFPU_68882     = 2;     { 68882 }
  155.        IDFPU_68040     = 3;     { 68040 }
  156.        IDFPU_68060     = 4;     { 68060 }
  157.  
  158. { --------------------------------------------------------------------------}
  159. { IDHW_MMU numerical result codes }
  160.  
  161.        IDMMU_NONE      = 0;     { no MMU }
  162.        IDMMU_68851     = 1;     { 68851 }
  163.        IDMMU_68030     = 2;     { 68030 }
  164.        IDMMU_680